package com.hd.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.sound.midi.Instrument;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * Created by lenovo on 2017/11/22.
 */
public class ReservationInstr {

    private Integer reserveInstrId;
    private Integer instrId;                        //仪器编号
    private Integer caseId;                         //病例Id；
    private Integer userId;                         //用户Id；
    private String caseNo;//病例号
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private String reservationInstrStartDate;       //预约仪器开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private String reservationInstrFinishDate;      //预约日期结束时间
    private Integer reservationInstrStatus;        //状态
    private Integer memberId;                        //会员号

    //引用
    private Case ca;
    private Member member;
    private User user;
    private Instrument instrument;
    private InstrInfo instrInfo;

    public InstrInfo getInstrInfo() {
        return instrInfo;
    }

    public void setInstrInfo(InstrInfo instrInfo) {
        this.instrInfo = instrInfo;
    }

    public Case getCa() {
        return ca;
    }

    public void setCa(Case ca) {
        this.ca = ca;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Instrument getInstrument() {
        return instrument;
    }

    public void setInstrument(Instrument instrument) {
        this.instrument = instrument;
    }

    public Integer getReserveInstrId() {
        return reserveInstrId;
    }

    public void setReserveInstrId(Integer reserveInstrId) {
        this.reserveInstrId = reserveInstrId;
    }

    public Integer getInstrId() {
        return instrId;
    }

    public void setInstrId(Integer instrId) {
        this.instrId = instrId;
    }

    public Integer getCaseId() {
        return caseId;
    }

    public void setCaseId(Integer caseId) {
        this.caseId = caseId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo;
    }

    public String getReservationInstrStartDate() {
        return reservationInstrStartDate;
    }

    public void setReservationInstrStartDate(String reservationInstrStartDate) {
        this.reservationInstrStartDate = reservationInstrStartDate;
    }

    public String getReservationInstrFinishDate() {
        return reservationInstrFinishDate;
    }

    public void setReservationInstrFinishDate(String reservationInstrFinishDate) {
        this.reservationInstrFinishDate = reservationInstrFinishDate;
    }

    public Integer getReservationInstrStatus() {
        return reservationInstrStatus;
    }

    public void setReservationInstrStatus(Integer reservationInstrStatus) {
        this.reservationInstrStatus = reservationInstrStatus;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }
}
